const SET_INFO = "set_user_info"

const AuthReducer = (state = {info:{}}, action) => {
  switch(action.type){
    case SET_INFO:
        return {
          infro: Object.assign({}, state.info, action.info)
        }
    default:
      return state
  }
}

export {
  SET_INFO,
  AuthReducer
}

